package com.robotboy.data.entity;
// default package

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;



/**
 * 对阵管理
 */
@Entity
@Table(name="T_PROD_MATCH",schema="PROD")

public class Match implements Cloneable{


    // Fields    

     /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
     private String issueno;			//期号
     private Integer lotteryid;			//彩种id
     private String gameno;				//比赛gameid
     private String gliveid;			//球探网关联id
     private String betliveid;			//博特网关联id
     private String issuenoid;			//本站对阵期号关联ID
     private String matchno;			//周几00几(或者第几场)
     private String leaguenametr;   	 //联赛名繁体
     private String leaguename;      	//联赛名简体
     private String leaguenameen;		//联赛名英文
     private String leagueid;			//联赛id
     private String leaguetype;			//联赛类型
     private String leaguecolor;		//联赛颜色
     private Integer hometeamid;		//主队id
     private Integer awayteamid;		//客队id
     private String hometeamname;		//主队名简体
     private String hometeamnametr;		//主队名繁体
     private String hometeamnameen;		//主队名英文
     private String awayteamname;		//客队名简体
     private String awayteamnametr;		//客队名繁体体
     private String awayteamnameen;		//客队名英文
     private String hometeamshortname;		//主队名中文简称
     private String awayteamshortname;		//客队名中文简称
     private Date playtime;		//比赛时间
     private Date multiendtime;		//开售时间
     
     private String halfscore;		//半场比分
     private String totalscore;		//全场比分
     private Integer handicap;		//让球数
     private String wlhandicap;		//让球数
     private String playctrlstr;		//玩法控制
     private Integer status;		//比赛状态
     private BigDecimal soccerwdlbonus;		//足球胜平负单关奖金
     private BigDecimal soccergoalsbonus;		//足球总进球单关奖金
     private BigDecimal soccerhfbonus;		//足球半全场单关奖金
     private BigDecimal soccerhandicapbonus;		//足球让球胜平负单关奖金
     private BigDecimal basketballwlbonus;		//篮球胜负奖金
     private BigDecimal basketballhandicapbonus;		//篮球让分奖金
     private BigDecimal basketballoubonus;		//篮球大小分奖金
     private String baskethandicap;		//篮球单关让分
     private String overunderscore;		//篮球单关大小预设分
     private String focusflag;		//焦点标识
     private String recommend;		//专家推荐内容
     private String temperature;		//温度
     private String weather;		//天气
     private String weatherpic;		//天气图片
     private String neutralflag;		//中立场标识
     private String prompt;				//描述
     private String  lotterytype;		//彩种类别,1（竞彩足球）、2（竞彩篮球）、3（北单足球）、4（传统足彩）、5(高频)、6（数字）
     private String ballType;		//球类型
     
     private String soccerwdlbonusresult;
     private String soccergoalsbonusresult;
     private String soccerhfbonusresult;
     private String soccerhandicapbonusresult;
     
     private String homerank;	//主队排名
     private String awayrank;	//客队排名
     

    // Constructors

    /** default constructor */
    public Match() {
    }

	/** minimal constructor */
    public Match(String id) {
        this.id = id;
    }

   
    // Property accessors
    @Id 
    @javax.persistence.Column(name = "ID", nullable = false, insertable = true, updatable = true, length = 64, precision = 0)
    @GenericGenerator(name="uuidString", strategy="uuid")
    @GeneratedValue(strategy= GenerationType.AUTO, generator = "uuidString")
    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    @Column(name="ISSUENO", length=20)

    public String getIssueno() {
        return this.issueno;
    }
    
    public void setIssueno(String issueno) {
        this.issueno = issueno;
    }
    
    @Column(name="LOTTERYID", precision=22, scale=0)

    public Integer getLotteryid() {
        return this.lotteryid;
    }
    
    public void setLotteryid(Integer lotteryid) {
        this.lotteryid = lotteryid;
    }
    
    @Column(name="GAMENO", length=20)

    public String getGameno() {
        return this.gameno;
    }
    
    public void setGameno(String gameno) {
        this.gameno = gameno;
    }
    
    @Column(name="GLIVEID", length=10)

    public String getGliveid() {
        return this.gliveid;
    }
    
    public void setGliveid(String gliveid) {
        this.gliveid = gliveid;
    }
    
    @Column(name="ISSUENOID", length=64)

    public String getIssuenoid() {
        return this.issuenoid;
    }
    
    public void setIssuenoid(String issuenoid) {
        this.issuenoid = issuenoid;
    }
    
    @Column(name="MATCHNO", length=10)

    public String getMatchno() {
        return this.matchno;
    }
    
    public void setMatchno(String matchno) {
        this.matchno = matchno;
    }
    
    @Column(name="LEAGUENAMETR", length=50)

    public String getLeaguenametr() {
        return this.leaguenametr;
    }
    
    public void setLeaguenametr(String leaguenametr) {
        this.leaguenametr = leaguenametr;
    }
    
    @Column(name="LEAGUENAME", length=50)

    public String getLeaguename() {
        return this.leaguename;
    }
    
    public void setLeaguename(String leaguename) {
        this.leaguename = leaguename;
    }
    
    @Column(name="LEAGUENAMEEN", length=50)

    public String getLeaguenameen() {
        return this.leaguenameen;
    }
    
    public void setLeaguenameen(String leaguenameen) {
        this.leaguenameen = leaguenameen;
    }
    
    @Column(name="LEAGUEID", length=64)

    public String getLeagueid() {
        return this.leagueid;
    }
    
    public void setLeagueid(String leagueid) {
        this.leagueid = leagueid;
    }
    
    @Column(name="LEAGUETYPE", length=1)

    public String getLeaguetype() {
        return this.leaguetype;
    }
    
    public void setLeaguetype(String leaguetype) {
        this.leaguetype = leaguetype;
    }
    
    @Column(name="LEAGUECOLOR", length=10)

    public String getLeaguecolor() {
        return this.leaguecolor;
    }
    
    public void setLeaguecolor(String leaguecolor) {
        this.leaguecolor = leaguecolor;
    }
    
    @Column(name="HOMETEAMID", precision=22, scale=0)

    public Integer getHometeamid() {
        return this.hometeamid;
    }
    
    public void setHometeamid(Integer hometeamid) {
        this.hometeamid = hometeamid;
    }
    
    @Column(name="AWAYTEAMID", precision=22, scale=0)

    public Integer getAwayteamid() {
        return this.awayteamid;
    }
    
    public void setAwayteamid(Integer awayteamid) {
        this.awayteamid = awayteamid;
    }
    
    @Column(name="HOMETEAMNAME", length=50)

    public String getHometeamname() {
        return this.hometeamname;
    }
    
    public void setHometeamname(String hometeamname) {
        this.hometeamname = hometeamname;
    }
    
    @Column(name="HOMETEAMNAMETR", length=50)

    public String getHometeamnametr() {
        return this.hometeamnametr;
    }
    
    public void setHometeamnametr(String hometeamnametr) {
        this.hometeamnametr = hometeamnametr;
    }
    
    @Column(name="HOMETEAMNAMEEN", length=50)

    public String getHometeamnameen() {
        return this.hometeamnameen;
    }
    
    public void setHometeamnameen(String hometeamnameen) {
        this.hometeamnameen = hometeamnameen;
    }
    
    @Column(name="AWAYTEAMNAME", length=50)

    public String getAwayteamname() {
        return this.awayteamname;
    }
    
    public void setAwayteamname(String awayteamname) {
        this.awayteamname = awayteamname;
    }
    
    @Column(name="AWAYTEAMNAMETR", length=50)

    public String getAwayteamnametr() {
        return this.awayteamnametr;
    }
    
    public void setAwayteamnametr(String awayteamnametr) {
        this.awayteamnametr = awayteamnametr;
    }
    
    @Column(name="AWAYTEAMNAMEEN", length=50)

    public String getAwayteamnameen() {
        return this.awayteamnameen;
    }
    
    public void setAwayteamnameen(String awayteamnameen) {
        this.awayteamnameen = awayteamnameen;
    }
    
    @Column(name="HOMETEAMSHORTNAME", length=50)

    public String getHometeamshortname() {
        return this.hometeamshortname;
    }
    
    public void setHometeamshortname(String hometeamshortname) {
        this.hometeamshortname = hometeamshortname;
    }
    
    @Column(name="AWAYTEAMSHORTNAME", length=50)

    public String getAwayteamshortname() {
        return this.awayteamshortname;
    }
    
    public void setAwayteamshortname(String awayteamshortname) {
        this.awayteamshortname = awayteamshortname;
    }
    
    @Column(name="PLAYTIME", length=7)

    public Date getPlaytime() {
        return this.playtime;
    }
    
    public void setPlaytime(Date playtime) {
        this.playtime = playtime;
    }
    
    @Column(name="HALFSCORE", length=10)

    public String getHalfscore() {
        return this.halfscore;
    }
    
    public void setHalfscore(String halfscore) {
        this.halfscore = halfscore;
    }
    
    @Column(name="TOTALSCORE", length=10)

    public String getTotalscore() {
        return this.totalscore;
    }
    
    public void setTotalscore(String totalscore) {
        this.totalscore = totalscore;
    }
    
    @Column(name="HANDICAP", precision=22, scale=0)

    public Integer getHandicap() {
        return this.handicap;
    }
    
    public void setHandicap(Integer handicap) {
        this.handicap = handicap;
    }
    
    @Column(name="WLHANDICAP", length=10)
    public String getWlhandicap() {
		return wlhandicap;
	}

	public void setWlhandicap(String wlhandicap) {
		this.wlhandicap = wlhandicap;
	}

	@Column(name="PLAYCTRLSTR", length=100)

    public String getPlayctrlstr() {
        return this.playctrlstr;
    }
    
    public void setPlayctrlstr(String playctrlstr) {
        this.playctrlstr = playctrlstr;
    }
    
    @Column(name="STATUS", precision=22, scale=0)

    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    
    @Column(name="SOCCERWDLBONUS", precision=22, scale=0)

    public BigDecimal getSoccerwdlbonus() {
        return this.soccerwdlbonus;
    }
    
    public void setSoccerwdlbonus(BigDecimal soccerwdlbonus) {
        this.soccerwdlbonus = soccerwdlbonus;
    }
    
    @Column(name="SOCCERGOALSBONUS", precision=22, scale=0)

    public BigDecimal getSoccergoalsbonus() {
        return this.soccergoalsbonus;
    }
    
    public void setSoccergoalsbonus(BigDecimal soccergoalsbonus) {
        this.soccergoalsbonus = soccergoalsbonus;
    }
    
    @Column(name="SOCCERHFBONUS", precision=22, scale=0)

    public BigDecimal getSoccerhfbonus() {
        return this.soccerhfbonus;
    }
    
    public void setSoccerhfbonus(BigDecimal soccerhfbonus) {
        this.soccerhfbonus = soccerhfbonus;
    }
    
    @Column(name="SOCCERHANDICAPBONUS", precision=22, scale=0)

    public BigDecimal getSoccerhandicapbonus() {
        return this.soccerhandicapbonus;
    }
    
    public void setSoccerhandicapbonus(BigDecimal soccerhandicapbonus) {
        this.soccerhandicapbonus = soccerhandicapbonus;
    }
    
    @Column(name="BASKETBALLWLBONUS", precision=22, scale=0)

    public BigDecimal getBasketballwlbonus() {
        return this.basketballwlbonus;
    }
    
    public void setBasketballwlbonus(BigDecimal basketballwlbonus) {
        this.basketballwlbonus = basketballwlbonus;
    }
    
    @Column(name="BASKETBALLHANDICAPBONUS", precision=22, scale=0)

    public BigDecimal getBasketballhandicapbonus() {
        return this.basketballhandicapbonus;
    }
    
    public void setBasketballhandicapbonus(BigDecimal basketballhandicapbonus) {
        this.basketballhandicapbonus = basketballhandicapbonus;
    }
    
    @Column(name="BASKETBALLOUBONUS", precision=22, scale=0)

    public BigDecimal getBasketballoubonus() {
        return this.basketballoubonus;
    }
    
    public void setBasketballoubonus(BigDecimal basketballoubonus) {
        this.basketballoubonus = basketballoubonus;
    }
    
    @Column(name="BASKETHANDICAP", length=10)

    public String getBaskethandicap() {
        return this.baskethandicap;
    }
    
    public void setBaskethandicap(String baskethandicap) {
        this.baskethandicap = baskethandicap;
    }
    
    @Column(name="OVERUNDERSCORE", length=10)

    public String getOverunderscore() {
        return this.overunderscore;
    }
    
    public void setOverunderscore(String overunderscore) {
        this.overunderscore = overunderscore;
    }
    
    @Column(name="FOCUSFLAG", length=1)

    public String getFocusflag() {
        return this.focusflag;
    }
    
    public void setFocusflag(String focusflag) {
        this.focusflag = focusflag;
    }
    
    @Column(name="RECOMMEND", length=100)

    public String getRecommend() {
        return this.recommend;
    }
    
    public void setRecommend(String recommend) {
        this.recommend = recommend;
    }
    
    @Column(name="TEMPERATURE", length=10)

    public String getTemperature() {
        return this.temperature;
    }
    
    public void setTemperature(String temperature) {
        this.temperature = temperature;
    }
    
    @Column(name="WEATHER", length=50)

    public String getWeather() {
        return this.weather;
    }
    
    public void setWeather(String weather) {
        this.weather = weather;
    }
    
    @Column(name="WEATHERPIC", length=50)

    public String getWeatherpic() {
        return this.weatherpic;
    }
    
    public void setWeatherpic(String weatherpic) {
        this.weatherpic = weatherpic;
    }
    
    @Column(name="NEUTRALFLAG", length=1)

    public String getNeutralflag() {
        return this.neutralflag;
    }
    
    public void setNeutralflag(String neutralflag) {
        this.neutralflag = neutralflag;
    }
    
    @Column(name="PROMPT", length=150)

    public String getPrompt() {
        return this.prompt;
    }
    
    public void setPrompt(String prompt) {
        this.prompt = prompt;
    }

    @Column(name="LOTTERYTYPE", length=1)
	public String getLotterytype() {
		return lotterytype;
	}

	public void setLotterytype(String lotterytype) {
		this.lotterytype = lotterytype;
	}

	@Transient
	public String getSoccerwdlbonusresult() {
		return soccerwdlbonusresult;
	}

	public void setSoccerwdlbonusresult(String soccerwdlbonusresult) {
		this.soccerwdlbonusresult = soccerwdlbonusresult;
	}
	@Transient
	public String getSoccergoalsbonusresult() {
		return soccergoalsbonusresult;
	}

	public void setSoccergoalsbonusresult(String soccergoalsbonusresult) {
		this.soccergoalsbonusresult = soccergoalsbonusresult;
	}
	@Transient
	public String getSoccerhfbonusresult() {
		return soccerhfbonusresult;
	}

	public void setSoccerhfbonusresult(String soccerhfbonusresult) {
		this.soccerhfbonusresult = soccerhfbonusresult;
	}
	@Transient
	public String getSoccerhandicapbonusresult() {
		return soccerhandicapbonusresult;
	}

	public void setSoccerhandicapbonusresult(String soccerhandicapbonusresult) {
		this.soccerhandicapbonusresult = soccerhandicapbonusresult;
	}
	@Column(name="BETLIVEID", length=10)
	public String getBetliveid() {
		return betliveid;
	}

	public void setBetliveid(String betliveid) {
		this.betliveid = betliveid;
	}
	
	@Column(name="MULTIENDTIME", length=7)
	public Date getMultiendtime() {
		return multiendtime;
	}

	public void setMultiendtime(Date multiendtime) {
		this.multiendtime = multiendtime;
	}
  

	@Column(name="BALLTYPE", length=10)
	public String getBallType() {
		return ballType;
	}

	public void setBallType(String ballType) {
		this.ballType = ballType;
	}

	@Column(name="HOMERANK", length=30)
	public String getHomerank() {
		return homerank;
	}

	public void setHomerank(String homerank) {
		this.homerank = homerank;
	}

	@Column(name="AWAYRANK", length=30)
	public String getAwayrank() {
		return awayrank;
	}

	public void setAwayrank(String awayrank) {
		this.awayrank = awayrank;
	}
   

}